package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("tb_item_cat")
@Data
@Accessors(chain = true)
public class ItemCat extends BasePojo{
    @TableId(type = IdType.AUTO)    //主键自增
    private Long id;                //父级Id
    private Long parentId;          //分类名称
    private String name;            //分类名称
    private Integer status;         //状态
    private Integer sortOrder;      //排序号
    private Boolean isParent;       //是否为父级

}
